package com.stox.ui.javafx.charting.model.cursor;

import javafx.scene.Cursor;
import javafx.scene.canvas.Canvas;

import com.stox.ui.javafx.charting.widget.Chart;


public class NormalCursor extends AbstractStoxChartingCursor {
	
	@Override
	public void paint(Chart<?> chart) {
		Canvas canvas = chart.getCanvas();
		
		if(!Cursor.DEFAULT.equals(canvas.getCursor()))
			canvas.setCursor(Cursor.DEFAULT);
	}
	
}
